

define(function(require,exports,module){

	function Main(jqObj,loadParams){

	var columns = [[
		{field:'direction',title:'方向',editor:{}},
		{field:'dateTime',title:'dateTime',editor:{}},
		{field:'sign',title:'sign',editor:{}},
		{field:'lat',title:'纬度',editor:{}},
		{field:'appKey',title:'appKey',editor:{}},
		{field:'speed',title:'车速',editor:{}},
		{field:'timestamp',title:'timestamp',editor:{}},
		{field:'createTime',title:'createTime',editor:{}},
		{field:'lon',title:'经度',editor:{}},
		{field:'status',title:'status',editor:{}},
		{field:'gpsId',title:'主键',hidden:true},
		{field:'carDeviceId',title:'carDeviceId',editor:{}},
		{field:'alt',title:'海拔',editor:{}}
	]];
	var formDialog = {
		title:'',
		height:650,
		formEx:{
			url:'fire/firecargps/save.do'
		}
	}

	var MainUI = {
		eName:'datagrid',
		idField:'gpsId',
		url:'fire/firecargps/json.do',
		delUrl:'fire/firecargps/del.do',
		columns:columns,
		formDialog:formDialog
	}

	jqObj.createUI(MainUI);

}
	module.exports = Main;

});
